POV-Ray : Newsgroups : povray.general : save hf pattern ? : Re: save hf pattern ? Server Time
5 Aug 2024 12:19:54 EDT (-0400)
  Re: save hf pattern ?  
From: Warp
Date: 27 Sep 2002 22:25:55
Message: <3d951333@news.povray.org>
Rafal 'Raf256' Maj <raf### [at] raf256com> wrote:
> Any comments ? Is it worth coding ?

  IMO no.

  It will be easier and better to just make a small macro which you can
use to create an image file with the given pattern (and the resolution is
given as rendering parameter). This way you can "save" to any format
supported by povray (png is best for compression).
  The macro would simply create a plane using the given pattern as pigment
and create a camera for rendering it.

-- 
#macro N(D)#if(D>99)cylinder{M()#local D=div(D,104);M().5,2pigment{rgb M()}}
N(D)#end#end#macro M()<mod(D,13)-6mod(div(D,13)8)-3,10>#end blob{
N(11117333955)N(4254934330)N(3900569407)N(7382340)N(3358)N(970)}//  - Warp -


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.